package com.sf.osms.dep.dao;

import java.util.List;

import com.sf.novatar.base.dao.IBeanDao;
import com.sf.osms.dep.domain.Router;

public interface IRouterDao extends IBeanDao<Long,Router>{

	List<Router> findRouterInfo(String sfWayfill, Integer eventCode,
			 boolean failed);
	/**
	 * 根据路由状态查询路由对象集合
	 * @param status
	 * @return
	 */
	List<Router> queryRouterByStatus(int status);
	public List<Router> queryRoutersById(Long... id);
	
	
	public List<Router> queryRouter(Router router);
	
    List<Router> queryRouterNeedPod(String country);
	
    void updateRouterPodStatus(String sfWaybill,Integer statusCode,String failReason);

    
    public void updateRouterBySfWaybill(String sfwaybill,Integer eventCode,Integer status);
}
